package com.lagou.edu.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
public class EmailServerConfig {
    @Value("${emailServer.username}")
    private String username;


    @Value("${emailServer.password}")
    private String password;

    @Value("${emailServer.hostname}")
    private String hostname;

    public String getUsername() {
        return username;
    }

    public String getPassword() {
        return password;
    }

    public String getHostname() {
        return hostname;
    }
}
